//
//  DDMyQuestionDetailCollectionViewCell.h
//  dingdang
//
//  Created by Chen Jing on 15-7-26.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "DDQuestionAnswerReply.h"

#import "DDMediaIV.h"

@class DDMyQuestionDetailCollectionViewCell;
@protocol DDMyQuestionDetailCollectionViewCellDelegate <NSObject>
-(void)starRateWithCell:(DDMyQuestionDetailCollectionViewCell *)tempCell;
-(void)followAnswerWithCell:(DDMyQuestionDetailCollectionViewCell *)tempCell;
-(void)adoptWithCell:(DDMyQuestionDetailCollectionViewCell *)tempCell;
-(void)openOrCloseFollowAsk:(DDMyQuestionDetailCollectionViewCell *)tempCell;
@end


@interface DDMyQuestionDetailCollectionViewCell : UICollectionViewCell

@property(nonatomic,assign)id<DDMyQuestionDetailCollectionViewCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UILabel *label_userName;
@property (weak, nonatomic) IBOutlet UILabel *label_time;
@property (weak, nonatomic) IBOutlet UILabel *label_body;
@property (weak, nonatomic) IBOutlet DDMediaIV *imageView_body;
@property (weak, nonatomic) IBOutlet UIView *contentOfBottom;
@property (weak, nonatomic) IBOutlet UIView *contentOfBottom_followAnswer;
@property (weak, nonatomic) IBOutlet UIView *contentOfBottom_ratingAndAnswer;
@property (weak, nonatomic) IBOutlet UIView *contentOfBottom_rationAndAnswerAndAdopt;

@property (weak, nonatomic) IBOutlet UIImageView *imageView_head;

@property (weak, nonatomic) IBOutlet UIButton *btn_openOrCloseFollowAnswer;
@property (weak, nonatomic) IBOutlet UIView *contentOfFollowAsk;
@property(nonatomic,assign)NSInteger info_starRating;
@property(nonatomic,strong)DDQuestionAnswerReply * info_followAskList;
@property(nonatomic,assign)BOOL isOpenFollowAsk;
@property(nonatomic,strong)NSString * info_adopt;


@property (weak, nonatomic) IBOutlet UIButton *btn_bottom_rating;
@property (weak, nonatomic) IBOutlet UIButton *btn_bottom_adopt;
@property (weak, nonatomic) IBOutlet UIButton *btn_bottom_followAsk;


-(void)fixCell;


@end
